mpsgroup_cp_scope
Configuration for Configpack Scope for MPSGroup resource.
Read/write properties
task_type<String>
Type of the task: Stylebook or Configpack.
group_id<String>
Id of the group.
sb_id<String>
Stylebook ID.
id<String>
Auto generated ID..
configpack_id<String>
ID of the configpack.
operation_status<String>
Status of the operation performed on the configpack.
status<String>
Status of the configpack.
operation<String>
Operation performed on the configpack.
sbuser<String>
User who performed the operation.
last_modified_datetime<String>
Last modified datetime.
sb_info<String>
Stylebook details.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope/id_value<String>
HTTPS Method:DELETE
Request Headers:
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value> }
URL:https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of mpsgroup_cp_scope resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope?pagesize=#no&pageno=#no
Use this query-parameter to get the mpsgroup_cp_scope resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope?count=yes
Use this query-parameter to get the count of mpsgroup_cp_scope resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mpsgroup_cp_scope":[{
"task_type":<String_value>,
"group_id":<String_value>,
"sb_id":<String_value>,
"id":<String_value>,
"configpack_id":<String_value>,
"operation_status":<String_value>,
"status":<String_value>,
"operation":<String_value>,
"sbuser":<String_value>,
"last_modified_datetime":<String_value>,
"sb_info":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope/id_value<String>
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mpsgroup_cp_scope":[{
"task_type":<String_value>,
"group_id":<String_value>,
"sb_id":<String_value>,
"id":<String_value>,
"configpack_id":<String_value>,
"operation_status":<String_value>,
"status":<String_value>,
"operation":<String_value>,
"sbuser":<String_value>,
"last_modified_datetime":<String_value>,
"sb_info":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope/id_value<String>
HTTPS Method:PUT
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"mpsgroup_cp_scope":{
"id":<String_value>,
"operation_status":<String_value>,
"operation":<String_value>,
"last_modified_datetime":<String_value>,
"task_type":<String_value>,
"sb_id":<String_value>,
"configpack_id":<String_value>,
"sb_info":<String_value>,
"group_id":<String_value>,
"status":<String_value>,
"sbuser":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mpsgroup_cp_scope":[{
"task_type":<String_value>,
"group_id":<String_value>,
"sb_id":<String_value>,
"id":<String_value>,
"configpack_id":<String_value>,
"operation_status":<String_value>,
"status":<String_value>,
"operation":<String_value>,
"sbuser":<String_value>,
"last_modified_datetime":<String_value>,
"sb_info":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/mpsgroup_cp_scope?onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"mpsgroup_cp_scope": {
"sbuser":<String_value>,
"id":<String_value>,
"status":<String_value>,
"group_id":<String_value>,
"sb_info":<String_value>,
"configpack_id":<String_value>,
"sb_id":<String_value>,
"task_type":<String_value>,
"last_modified_datetime":<String_value>,
"operation":<String_value>,
"operation_status":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mpsgroup_cp_scope":[{
"task_type":<String_value>,
"group_id":<String_value>,
"sb_id":<String_value>,
"id":<String_value>,
"configpack_id":<String_value>,
"operation_status":<String_value>,
"status":<String_value>,
"operation":<String_value>,
"sbuser":<String_value>,
"last_modified_datetime":<String_value>,
"sb_info":<String_value>}]}